package com.xxgc.eow.service;

import com.xxgc.eow.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxgc.eow.entity.CommentSecondary;
import com.xxgc.eow.entity.Secondaycomment;

import java.util.List;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-22
 */
public interface ICommentService extends IService<Comment> {
    List<Comment> selectByArticleId(int article);

    int delCommentById(int commentId);

    List<Secondaycomment> selectSecondComment(int commentId);

    CommentSecondary selectById(int commentId);

    List<Comment> selectArticleByUserId(int userId);

    List<CommentSecondary> selectAll();
}
